import { Event } from "cc";


export class MyEvent extends Event {


    private _detail: any = null;
    get detail(): any {
        return this._detail;
    }

    constructor(type: string, bubbles: boolean, detail: any) {
        super(type, bubbles);
        this._detail = detail;
    }
}

export let btnNamePrefix = "btn_";

